<h1 class="pop_title"><!--库存查询-->{{language.TIPS_CASHIER_STOCK_SEARCH}}</h1>
<div class="pop_cont stock_search">
    <table class="pop_table">
        <tr>
            <td class="name"><label><!--商品-->{{language.TIPS_CASHIER_GOODS}}：</label>
            </td>
            <td class="val input_btn"><!--请输入商品编号-->
                <input ng-model="input_keyword_inv" ng-change="change_input_stock_query(input_keyword_inv);" class="search_input" type="text" placeholder="{{language.TIPS_CASHIER_INPUT_GOODS_CODE}}" id="enquiry_input"  />
                <button class="second" ng-click="searchInventory(input_keyword_inv, cur, shop_name)">
                    <!--查询-->
                    {{language.ACT_INQUIRE}}
                </button>
                <button  ng-click="clearInventory();">
                    <!--清空-->
                    {{language.ACT_EMPTY}}
                </button>
            </td>
        </tr>
    </table>
    <p class="tab_list">
        <span class="tab_btn" ng-click="cur_shop();" ng-model="cur" ng-class="{true:'curr',false:''}[cur == 0]"><!--本店-->{{language.TIPS_CASHIER_CUR_SHOP}}</span>
        <span ng-show = "{{purview['\/CashierIndexCtrl\/referInventoryNear'].show}}" class="tab_btn" ng-click="nearly_shop();" ng-model= "cur" ng-class="{true:'curr',false:''}[cur == 1]"><!--邻店-->{{language.TIPS_CASHIER_NEARELY_SHOP}}</span>
        <!--<span class="tab_btn" ng-click="all_shop();" ng-model= "cur" ng-class="{true:'curr',false:''}[cur==2]">总店</span>-->
    </p>
    <div class= "cur results_box">
        <p class="top">
            <span class="spmc"><!--商品名称-->{{language.TIPS_CASHIER_SHOP_NAME}}： {{inventoryGoods[0]| language_filter_show:'GoodsName'}}</span>
            <!--            <button ng-click="search(input_keyword_inv, cur, shop_name)" ng-show="searchNearly">
                            查询
                            {{language.ACT_INQUIRE}}
                        </button>-->
            <select ng-model="shop_name" ng-options="list.friend_shop_code as list.friend_shop_name for list in ShopFriend" ng-show="searchNearly">
            </select>
            <label class="cur_select" ng-show="searchNearly">{{cur_select}}</label>			
        </p>
        <table class="date_table">
            <tr ng-repeat="list in inventoryGoods">
                <td>{{list| language_filter_show:'GoodsName'}}</td>
                <td>{{list| language_filter_show:'SkuPropertyName'}}</td>
                <td>{{list.SkuNum}}</td>
            </tr>
        </table>
    </div>
</div>